<?php $this->load->view('admins/header'); ?>
<?php $this->load->view('admins/menu'); ?>
<div class="container conter">
    <?php $this->load->view('admins/tags/menu'); ?>
    <div class="body">
        <?php foreach($tags_all as $key=>$tags): ?>
        <div class="main" id="<?php echo $key; ?>" style="display:none;">
            <table>
                <tr>
                    <th>ID</th>
                    <th>名称</th>
                    <th>Slug</th>
                    <th>Color</th>
                    <th>排序</th>
                    <th>次数</th>
                    <th>操作</th>
                </tr>
                <?php foreach($tags as $tag): ?>
                <tr>
                    <td><?php echo $tag['mid']; ?></td>
                    <td><?php echo $tag['name']; ?></td>
                    <td><?php echo $tag['slug']; ?></td>
                    <td class="<?php echo $tag['color']; ?>"><?php echo $tag['color']; ?></td>
                    <td><?php echo $tag['order']; ?></td>
                    <td><?php echo $tag['count']; ?></td>
                    <td><?php echo anchor('admins/tags_admin/delete/'.$tag['mid'], '删除'); ?></td>
                </tr>
                <?php endforeach; ?>
            </table>
        </div>
        <?php endforeach; ?>
    </div>
</div>
<?php $this->load->view('admins/footer'); ?>